/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const chartsRouter = {
    path: '/charts',
    component: Layout,
    redirect: 'noRedirect',
    name: 'Charts',
    meta: {
        title: '风险监控',
        icon: 'bug'
    },
    children: [{
            path: 'keyboard',
            component: () =>
                import ('@/views/charts/keyboard'),
            name: 'KeyboardChart',
            meta: { title: '企业风险监管', noCache: true }
        },
        {
            path: 'line',
            component: () =>
                import ('@/views/charts/line'),
            name: 'LineChart',
            meta: { title: '舆情风险监控', noCache: true }
        }
    ]
}

export default chartsRouter